#ifndef PLAYER_H
#define PLAYER_H

//Cards position
#define COMPUTER_X 300
#define COMPUTER_Y 0
#define HUMAN_X 300
#define HUMAN_Y 250
#define CARD_DISTANCE 40

//Player fond
#define CASH 500
#define BET 50

//Player command
#define CARD C	//give new card
#define ABORT A	//drop out from game

class Player {
	private:
		int turn;	//number of laps
		int cards_score;
		int cash;
		int remember_cards[30];
	public:
		Player();
		void UpdateCardScore(int);
		void UpdateCash(int, bool);
		void UpdateTurn();
		void UpdateTurnMinus();
		int GetCardCoordinates(int);
		bool CheckGame();
		int GetCardsScore();
		int GetCash();
		bool isMinus();
		void RememberCard(int);
		int GetRememberedCard(int);
		void ResetAll();
		void ResetCash();
};

#endif